package cn.yangke.user.mapper;

import cn.yangke.user.domain.Wxuser;
import cn.yangke.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangke
 * @since 2022-06-20
 */
public interface WxuserMapper extends BaseMapper<Wxuser> {

    /**
     * 基于openId查询
     * @param openId
     * @return
     */
    Wxuser loadByOpenId(String openId);

    /**
     * 基于userid查询
     * @param id
     * @return
     */
    Wxuser loadByUserId(Long id);
}
